package com.dadaguai.common;

import lombok.Data;

/**
 * 自定义业务异常
 */
@Data
public class BusinessException extends Exception{
    private String message;
    private Integer code;

    public BusinessException(String message,Integer code){
        this.message = message;
        this.code = code;
    }
}
